package app.io;


import javax.swing.JEditorPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTabbedPane;

public class MainPanel extends JPanel{

	private JTabbedPane mytabs;
	
	public MainPanel(){
		this.mytabs = getTabInfo();
		this.add(mytabs);
	}
	
	public void setLayout(){
		
	}
	
	public JTabbedPane getTabs(){
		return this.mytabs;
	}
	
	private JTabbedPane getTabInfo(){
		JTabbedPane tabs = new JTabbedPane();
		//tabs.setBounds(new Rectangle(225, 37, 825, 556));
		return tabs;
	}
	
	public JScrollPane getScrollPane(){
		JScrollPane sp = new JScrollPane();
		sp.setAutoscrolls(true);
		JEditorPane pp = new JEditorPane();
		pp.setEditable(false);
		sp.getViewport().add(pp);		
		return sp;
	}
	
}
